package cn.gson.springboot.model.vo.aftervo;

import cn.gson.springboot.model.pjos.Customer;
import cn.gson.springboot.model.pjos.Productside;
import cn.gson.springboot.model.pjos.Schedule;

import java.math.BigDecimal;
import java.sql.Timestamp;

public class MaintainVo {
    private int tainId;                     //维修主表id
    private String tainType;                //退换货类型
    private String tainNote;                //退换货单号
    private String tainOrder;               //维修单号
    private String tainRece;                //接单人
    private Integer tainState;              //状态
    private Integer tainDelete;             //逻辑删除
    private Customer customerByCustomId;
    private int tainsId;                    //维修详表id
    private Timestamp tainsDate;            //接单时间
    private String tainsClass;              //分类
    private String tainsSection;            //承接部门
    private Integer tainsRepair;            //是否在保
    private String tainsFault;              //故障描述
    private String tainsAlert;              //沟通要点
    private String tainsPerson;             //联系人
    private String tainsPhone;              //电话
    private String tainsStatus;             //接件状况
    private String tainsRemark;             //备注
    private Schedule schedu;                //维修工单进度

    public MaintainVo() {

    }

    public MaintainVo(int tainId, String tainType, String tainNote, String tainOrder, String tainRece, Integer tainState, Integer tainDelete, Customer customerByCustomId, int tainsId, Timestamp tainsDate, String tainsClass, String tainsSection, Integer tainsRepair, String tainsFault, String tainsAlert, String tainsPerson, String tainsPhone, String tainsStatus, String tainsRemark, Schedule schedu) {
        this.tainId = tainId;
        this.tainType = tainType;
        this.tainNote = tainNote;
        this.tainOrder = tainOrder;
        this.tainRece = tainRece;
        this.tainState = tainState;
        this.tainDelete = tainDelete;
        this.customerByCustomId = customerByCustomId;
        this.tainsId = tainsId;
        this.tainsDate = tainsDate;
        this.tainsClass = tainsClass;
        this.tainsSection = tainsSection;
        this.tainsRepair = tainsRepair;
        this.tainsFault = tainsFault;
        this.tainsAlert = tainsAlert;
        this.tainsPerson = tainsPerson;
        this.tainsPhone = tainsPhone;
        this.tainsStatus = tainsStatus;
        this.tainsRemark = tainsRemark;
        this.schedu = schedu;
    }

    public int getTainId() {
        return tainId;
    }

    public void setTainId(int tainId) {
        this.tainId = tainId;
    }

    public String getTainType() {
        return tainType;
    }

    public void setTainType(String tainType) {
        this.tainType = tainType;
    }

    public String getTainNote() {
        return tainNote;
    }

    public void setTainNote(String tainNote) {
        this.tainNote = tainNote;
    }

    public String getTainOrder() {
        return tainOrder;
    }

    public void setTainOrder(String tainOrder) {
        this.tainOrder = tainOrder;
    }

    public String getTainRece() {
        return tainRece;
    }

    public void setTainRece(String tainRece) {
        this.tainRece = tainRece;
    }

    public Integer getTainState() {
        return tainState;
    }

    public void setTainState(Integer tainState) {
        this.tainState = tainState;
    }

    public Integer getTainDelete() {
        return tainDelete;
    }

    public void setTainDelete(Integer tainDelete) {
        this.tainDelete = tainDelete;
    }

    public Customer getCustomerByCustomId() {
        return customerByCustomId;
    }

    public void setCustomerByCustomId(Customer customerByCustomId) {
        this.customerByCustomId = customerByCustomId;
    }

    public int getTainsId() {
        return tainsId;
    }

    public void setTainsId(int tainsId) {
        this.tainsId = tainsId;
    }

    public Timestamp getTainsDate() {
        return tainsDate;
    }

    public void setTainsDate(Timestamp tainsDate) {
        this.tainsDate = tainsDate;
    }

    public String getTainsClass() {
        return tainsClass;
    }

    public void setTainsClass(String tainsClass) {
        this.tainsClass = tainsClass;
    }

    public String getTainsSection() {
        return tainsSection;
    }

    public void setTainsSection(String tainsSection) {
        this.tainsSection = tainsSection;
    }

    public Integer getTainsRepair() {
        return tainsRepair;
    }

    public void setTainsRepair(Integer tainsRepair) {
        this.tainsRepair = tainsRepair;
    }

    public String getTainsFault() {
        return tainsFault;
    }

    public void setTainsFault(String tainsFault) {
        this.tainsFault = tainsFault;
    }

    public String getTainsAlert() {
        return tainsAlert;
    }

    public void setTainsAlert(String tainsAlert) {
        this.tainsAlert = tainsAlert;
    }

    public String getTainsPerson() {
        return tainsPerson;
    }

    public void setTainsPerson(String tainsPerson) {
        this.tainsPerson = tainsPerson;
    }

    public String getTainsPhone() {
        return tainsPhone;
    }

    public void setTainsPhone(String tainsPhone) {
        this.tainsPhone = tainsPhone;
    }

    public String getTainsStatus() {
        return tainsStatus;
    }

    public void setTainsStatus(String tainsStatus) {
        this.tainsStatus = tainsStatus;
    }

    public String getTainsRemark() {
        return tainsRemark;
    }

    public void setTainsRemark(String tainsRemark) {
        this.tainsRemark = tainsRemark;
    }

    public Schedule getSchedu() {
        return schedu;
    }

    public void setSchedu(Schedule schedu) {
        this.schedu = schedu;
    }

    @Override
    public String toString() {
        return "MaintainVo{" +
                "tainId=" + tainId +
                ", tainType='" + tainType + '\'' +
                ", tainNote='" + tainNote + '\'' +
                ", tainOrder='" + tainOrder + '\'' +
                ", tainRece='" + tainRece + '\'' +
                ", tainState=" + tainState +
                ", tainDelete=" + tainDelete +
                ", customerByCustomId=" + customerByCustomId +
                ", tainsId=" + tainsId +
                ", tainsDate=" + tainsDate +
                ", tainsClass='" + tainsClass + '\'' +
                ", tainsSection='" + tainsSection + '\'' +
                ", tainsRepair=" + tainsRepair +
                ", tainsFault='" + tainsFault + '\'' +
                ", tainsAlert='" + tainsAlert + '\'' +
                ", tainsPerson='" + tainsPerson + '\'' +
                ", tainsPhone='" + tainsPhone + '\'' +
                ", tainsStatus='" + tainsStatus + '\'' +
                ", tainsRemark='" + tainsRemark + '\'' +
                ", schedu=" + schedu +
                '}';
    }
}
